package io.renren.modules.groupinfo.dao;

import io.renren.modules.groupinfo.entity.GroupinfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-12-28 15:17:34
 */
@Mapper
public interface GroupinfoDao extends BaseMapper<GroupinfoEntity> {

    List<GroupinfoEntity> getgroupinfo(String groupName, String leaderName);

    int countByGroupId(Long groupid);

    int addGroup(GroupinfoEntity groupinfoEntity);
}
